Home | Miscellaneous | Pi | Setup
Charles Varvayanis
Computer and Communication Systems

Since 1990
(209) 586-3782
charles@varvayanis.com
Raspberry Pi Setup
SStep-by-step instructions for setting up a Raspberry Pi 5, 4 or 3 with Raspberry Pi Connect and SSH.
These procedures apply to Raspberry Pi 5, 4 or 3 with Raspberry Pi OS (64-Bit), (32-Bit) or (Legacy, 32-Bit) with or without Raspberry and/or SSH.
General Notes
1. General:
The procedures below are optimized for setting up a Raspberry Pi 5, 4 or 3 with Raspberry Pi OS (64-Bit), (32-Bit) or (Legacy, 32-Bit) connected via Ethernet or Wi-Fi.
Management connectivity is provided via Raspberry Pi Connect, SSH and/or a Display, Keyboard and Mouse.
2. Internet access during setup:
Many of the steps below assume and require the target Raspberry Pi is connected to a network with access to the Internet and a DHCP server is on the network configured for DHCP clients to access the Internet.
This is the standard and/or default configuration for most networks, so in most cases nothing additional will need to be done.
3. Management Connectivity Options:
Certain Management Connectivity options, Raspberry Pi Connect and/or SSH, can be omitted while configuring the Raspberry Pi Imager in the "Load Raspberry Pi OS onto a Micro SD Card" section below.
Notice about updates, upgrades and installations failing due to repository or network congestion or outages
Occasionally updates, upgrades and installations fail due to repository or network congestion or outages.
Sometimes there is an appropriate message saying as such, sometimes a missing file is reported, and sometimes there is just a failure message without an explanation.
When this occurs, simply run the command again.
If that does not solve the issues immediately, try again later.
Download and Install the Raspberry Pi Imager onto a Windows PC, Mac, Rapberry Pi or Linux Computer
Download the Raspberry Pi Imager
https://www.raspberrypi.com/software
Install the Raspberry Pi Imager
Run the downloaded file and follow the installation instructions.
Load the Raspberry Pi OS onto a Micro SD Card
Connect the target Micro SD Card
Connect the target Micro SD Card to a computer with the Raspberry Pi Imager installed.
Open the Raspberry Pi Imager
Windows 11: Start | All Apps | Raspberry Pi | Raspberry Pi Imager
Windows 10: Start | Raspberry Pi | Raspberry Pi Imager
Raspberry Pi OS: Start (Raspberry - On the left side of the Task Bar at the top of the Raspberry Pi desktop) | Accessories | Raspberry Pi Imager
Mac OS: Applications [Shift + Command + A] | Raspberry Pi Imager
Linux: Terminal | sudo rpi-imager
Select the Desired Options
APP OPTIONS | (Located near the lower left corner of the window)
Play sound when finished | Off
Eject media when finished | On
Enable anonymous statistics (telemetry) | On
Disable warnings | Off
[SAVE]
Device |
Select your Raspberry PI device |
<Your Raspberry Pi model>
Example:
Raspberry Pi 5
[NEXT]
OS |
Choose operating system |
<Select the desired operating system>
(Raspberry Pi OS, preferrably (64-bit) for this configuration)
Example:
Raspberry Pi OS (64-bit)
[NEXT]
Storage |
Select your storage Device |
Exclude system drives | Checked
<Select the target storage Device>
Example:
Generic-SD/MMC USB Device
[NEXT]
Customisation |
Hostname |
<Enter your hostname>
(This gives the Raspberry Pi a name)
Example:
Pi-0001
[NEXT]
Localisation |
Capital city:
<Select your Wi-Fi Country>
Example:
Washinton, D.C. (United States)
Time zone:
<Select your time zone>
Example:
America/Los_Angels
Keyboard layout:
<Select your keyboard layout>
Example:
us
[NEXT]
User |
Username:
<Enter your username>
(This gives the Raspberry Pi a username)
Example:
pi
Password:
<Enter your password>
(This gives the Raspberry Pi a password)
Example:
PiPassword
Confirm password:
<Re-enter your password>
(This confirms the Raspberry Pi password)
Example:
PiPassword
[NEXT]
Wi-Fi |
[SECURE NETWORK]
SSID:
<Network name>
Wi-Fi SSID (Optional)
Example:
My Wi-Fi
Password:
<Network password>
Wi-Fi Password (Optional)
Example:
Wi-FiPassword
Confirm password:
<Re-enter password>
Wi-Fi Password (Optional)
Example:
Wi-FiPassword
Hidden SSID | Un-Checked
[NEXT]
Remote access |
Enable SSH | On
(Optional - See "General Notes" 5. near the top of this document)
Use password authentication | Selected
[NEXT]
Raspbery Pi Connect |
Enable Raspbery Pi Connect | On
(Optional - See "General Notes" 5. near the top of this document)
[OPEN RASPBERRY PI CONNECT]
"Sign in with Raspberry Pi ID" or "create one for free"
Create auth key and launch Raspberry Pi Imager
Go back to the "Raspberry Pi Imager" window if it did not go there automaticly
[NEXT]
Writing |
[WRITE]
You are about to ERASE all data on: Generic-SD/MMC USB Device |
[I UNDERSTAND, ERASE AND WRITE]
When the message "Write Complete" is displayed | [FINISH]
Remove the Micro SD card from the reader.
Insert the Micro SD Card into the Target Raspberry Pi
Be certain the Target Raspberry Pi is powered off.
Insert the Micro SD Card loaded with the Raspberry Pi OS into the target Raspberry Pi 5, 4 or 3. Note: It inserts up-side-down (contacts up) into the Raspberry Pi.
Power on the Raspberry Pi.
It is typical for the Raspberry Pi to reboot one to three times the first time it is powered up before it is ready for its first use. This often takes three to five minutes.
Connect to the target Raspberry Pi
Connect to the target Raspberry Pi using Raspberry Pi Connect Remote shell or Raspberry Pi Connect Screen share and open a Terminal window.
https://www.raspberrypi.com/software/connect
- or -
Connect directly to the target Raspberry Pi via a Display, Keyboard and Mouse, then open a Terminal window.
- or -
Use SSH via a tool such as PuTTY to connect to the Raspberry Pi.
https://putty.software/
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
https://www.putty.org
Connect using the IP address or URL of the target Raspberry Pi.
Note: The first time a connection is made, a security warning may be displayed | Yes
For using SSH above, determine the target Raspberry Pi IP Address:
Use an IP Scanner tool such as Advanced IP Scanner on a PC or alike to locate the DHCP IP Address assigned to the Raspberry Pi.
https://www.advanced-ip-scanner.com
- or -
Connect directly to the target Raspberry Pi via a Display, Keyboard and Mouse, then open a Terminal window.
sudo hostname -I
- or -
Connect to the target Raspberry Pi using Raspberry Pi Connect Remote shell or Raspberry Pi Connect Screen share and open a Terminal window.
sudo hostname -I
- or -
Login to your router and examine the DHCP assignments, sometimes labeled "Connected Devices" or similar.
Check and update the Raspberry Pi 4 or Pi 5 EEPROM Version
Note: This tool only works with Raspberry Pi 4 or Pi 5. Raspberry Pi 3B+ and below have a ROM that can not be updated.
Check if the Raspberry Pi 4 or Pi 5 EEPROM should be updated
sudo rpi-eeprom-update -a
Update the Raspberry Pi 4 or Pi 5 EEPROM if required.
sudo raspi-config
Advance Options | Bootloader Version | Latest | Yes | Finish | Would you like to reboot now? | Yes
Download latest package lists
sudo apt-get update -y
Download and install updated listed packages
sudo apt-get upgrade -y
Remove packages that were automatically installed and are no longer required
Occasionally excess update, upgrade and installation packages install automatically, but are no longer required and can be removed automatically.
Automatically detect and remove packages no longer required
sudo apt autoremove -y
Charles Varvayanis
Sonora, CA 95370
e-mail: charles@varvayanis.com
Phone: (209) 586-3782
Fax: (209) 586-3761
Business Card (PDF 153 KB) 
www.varvayanis.com

© 2025 Charles Varvayanis
All rights reserved